<?php
    $this->title = "whichTweet";
    $this->headTitle($this->title);
?>
<?php
/*
$pivaList = $this->pivaList;
$eventList = $this->eventList;
*/

$allDisco = $this->allDisco;
$paese = $this->paese;
$zonaList = $this->zonaList;
?>
<?php
/**
 * dispay all "paese" in  sponsor1
 */
//print_r($paese);
$line2 = '<div id="box">';
foreach ($paese as $key=>$paese2){
    $line2_new = '<h2><a href="'. $this->url(array('controller'=>'Index',
                                                   'action'=>'show-town',
                                                   'name'=> $paese2
                                                   ), 'index', TRUE) .'">' . $paese2
               . '</a></h2>';
    $line2 = $line2 . $line2_new;
    }
$line2 = $line2 . '</div>';
//$this->layout()->sponsor1 = $line2;

/**
 *  dispay all disco in  sponsor0
 */
$line = '<div id="box">';
foreach ($allDisco as $key=>$allDisco2){
    $line_new = '<h2><a href="'. $this->url(array('controller'=>'Club',
                                                  'name'=> $allDisco2[0],
                                                   ), 'locale', TRUE) .'">' . $allDisco2[1]
              . '</a></h2>';
    $line = $line . $line_new;
    }
$line = $line . '</div>';
$this->layout()->sponsor0 = $line;

/**
 * dispay all "provincia" in  provincia
 */
$line4 = '';
foreach ($zonaList as $key=>$zonaList2){
    $line4_new = '<h2><a href="'. $this->url(array('controller'=>'Index',
                                                    'action'=>'provincia',
                                                    'id'=> $zonaList2,
                                                   ), 'index', TRUE) .'">' . $zonaList2 . '</a></h2>';
    $line4 = $line4 . $line4_new;
    }
$line4 = $line4 . '';
$this->layout()->provincia = $line4;
?>